import Mock from 'mockjs'


const data = Mock.mock({
	"list|100": [{
		'url': '@image(100x100, @color)',
		'title': '@ctitle',
		'desc': '@cword(10, 20)',
		'price|10-100': 1,
		'id': "@id"
	}]
})



Mock.mock('/api/list', () => ({ code: 200, data: data.list }))

